
const Router = require('express')
const MenuController = require('../../menu/controllers.js')
const router = Router()

/* 服务端 */
router.get('/menu/list', MenuController.getMenuList)
/* 添加菜单 */
router.post('/menu/new', MenuController.createMenu)
// /* 拉取菜单信息 */
// router.get('/user/:id', MenuController.getOne)
// /* 删除菜单 */
// router.delete('/user/:id', MenuController.deleteOne)
// /* 更新菜单 */
// router.post('/user/:id', MenuController.updateOne)


/* 客户端 */
// router.get('/member', MenuController.getUsers)
// router.get('/member/:id', MenuController.memberGetBaseInfo)
// router.post('/member/login', MenuController.memberLoginAction)

module.exports = router
